import Vue from 'vue'
import Antd, {locales} from 'ant-design-vue';
import App from './App.vue'
import PageLayout from '@lib/components/PageLayout'
import 'ant-design-vue/dist/antd.css';

import router from './router';

Vue.config.productionTip = false

Vue.use(Antd);

Vue.component('PageLayout', PageLayout);

new Vue({
  router,
  render: h => h(
    'a-config-provider',
    {
      props: {
        locale: locales.zh_CN
      }
    },
    [
      h(App)
    ]
  ),
}).$mount('#app')
